package com.aw.puzzle.dropboxdiet;

import com.aw.puzzle.dropboxdiet.support.*;

/**
 * User: gmc
 * Date: 05/02/11
 */
public class MainClass {


    public static void main(String[] args) {
        // Comment this in order to see all the combinations that were used
        CombinationsLogger.disable();
        Dietist dietist = new Dietist();
        // Generating result for the first example - 2 activities
        dietist.setActivityCollector(new ActivityCollectorFirstExample());
        dietist.generateActivityGroupsThatSumZeroCalories();
        // Generating result for the second example - 12 activities
        dietist.setActivityCollector(new ActivityCollectorSecondExample());
        dietist.generateActivityGroupsThatSumZeroCalories();
        // Generating result for the third example - 100 activities
        dietist.setActivityCollector(new ActivityCollectorThirdExample());
        dietist.generateActivityGroupsThatSumZeroCalories();
        // Reading activities from console
        dietist.setActivityCollector(new ActivityCollectorFromConsole());
        dietist.generateActivityGroupsThatSumZeroCalories();
    }


}
